<template>
  <div class="no-result">
    <div class="no-result-icon"></div>
    <p class="no-result-text">{{ title }}</p>
  </div>
</template>

<script>
export default {
  name: 'NoResult',
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
@import "../../assets/css/variable.scss";

.no-result{
  text-align: center;
  .no-result-icon{
    width: 86px;
    height: 86px;
    margin: 0 auto;
    background: url('./feiji.png') no-repeat;
    background-size: cover;
  }
  .no-result-text{
    margin-top: 30px;
    font-size: $font-size-medium;
    color: $color-text-d;
  }
}
</style>